import { defineStore } from "pinia";
import { ref } from 'vue'
import { mockGetHighlightAnimationNum } from "@/mock/index"
export const useHighlightStore = defineStore("highlight", () => {
    let animatedNums = ref([])
    let getAnimaedNumber = async () => {
        let res = await mockGetHighlightAnimationNum();
        animatedNums.value = res["animation-num"] || []


    }
    return { animatedNums, getAnimaedNumber }
})